Skip to main content

View Post [edit]

Poster: CR2327 Date: Feb 15, 2021 9:55am
Forum: texts Subject: Faulty preview for "clari_romani_broadbent_camillus"

Hello,

the in-browser-preview of the book "clari_romani_broadbent_camillus" (https://archive.org/details/clari_romani_broadbent_camillus/) does not work. The EPUB does not work either, but the PDF I uploaded at the time works perfectly on my computer. Just to make sure, I downloaded the PDF-file from Archive.org in order to check whether the Archive.org-version is faulty. It is not. Can anyone look into this matter=

Thank you in advance (also for your work in general!!!)

CR

Reply [edit]

Poster: Jeff Kaplan Date: Feb 15, 2021 12:52pm
Forum: texts Subject: Re: Faulty preview for 'clari_romani_broadbent_camillus'

it failed with error:
ValueError: Cannot find a fitting page boundary

there is an issue with the images in the pdf. are they all the same dimension and ppi? if not i'd suggest recreating the pdf.

Reply [edit]

Poster: CR2327 Date: Feb 16, 2021 10:46am
Forum: texts Subject: Re: Faulty preview for 'clari_romani_broadbent_camillus'

I just extracted the images using the Unix-command "pdfimages". All of the resulting ppm-files have the same file size, so the size in pixels is most likely the same.
CR.

Reply [edit]

Poster: Jeff Kaplan Date: Feb 16, 2021 12:12pm
Forum: texts Subject: Re: Faulty preview for 'clari_romani_broadbent_camillus'

i guess i'd suggest rebuilding and reuploading the pdf or uploading the images zipped in a file with a file name ending with _images.zip